Function: doc-view-pdf->txt
doc-view-pdf->txt is a byte-compiled function defined in
doc-view.el.gz.
Signature
(doc-view-pdf->txt PDF TXT CALLBACK)
Documentation
Convert PDF to TXT asynchronously and call CALLBACK when finished.
Source Code
;; Defined in /usr/src/emacs/lisp/doc-view.el.gz
(defun doc-view-pdf->txt (pdf txt callback)
"Convert PDF to TXT asynchronously and call CALLBACK when finished."
(or (executable-find doc-view-pdftotext-program)
(error "You need the `pdftotext' program to convert a PDF to text"))
(doc-view-start-process "pdf->txt" doc-view-pdftotext-program
(append doc-view-pdftotext-program-args
(list pdf txt))
callback))